import { FrontendSession, MsgHandler } from "kilom";
import { msgId } from "../../../cfg/msgcfg";

export default class MsgGateMain extends MsgHandler {

    getConnector(sess: FrontendSession) {
        let svr = this.app.getSvrWidthRouter("connector", sess);
        sess.send(msgId.getConnector, { url: `ws://${svr.host}:${svr.clientPort}` });
    }

}